
<%= form_for(@video) do |f| %>
  <% if @video.errors.any? %>
    <div class="notification note-error">
	<a href="#" class="close" title="Close notification">close</a>
	<p><strong><%= pluralize(@video.errors.count, "error") %> prohibited this article from being saved:</strong></p>
        <p>
          <% @event.errors.full_messages.each do |msg| %>
            - <%= msg %><br />
          <% end %>
        </p>
    </div>    
  <% end %>
                        
					<form method="post" action="">
					<table class="style1">
					<thead>
					<tr>

						<th>Item</th>
						<th class="full">Value</th>						
					</tr>
					</thead>
					<tbody>
                                        
   
                                        
					<tr>
						<th><%= f.label :title %></th>
						<td class="edit-field edit-textfield long"><%= f.text_field :title %></td>						
					</tr>
					
					<tr>
						<th>Video Status</th>
						<td> <select name="video[video_status_id]" >
							<% @video_statuses.each do |status| %>
								<option value= <%= status.id %> > <%= status.name %></option>
							<% end %>
							</select>	
						</td>
					</tr>
					<tr>
						<th><%= f.label :path %></th>
						<td class="edit-field edit-textfield long"><%= f.text_field :path %></td>
					</tr>
                    
					</tbody>
					</table>
					
					<div class="tab-footer clear">
						<div class="fr">
                                           <%= f.submit "Update", :class => 'button' %>
						</div>
					</div>
					</form>
				
<% end %>
<%= link_to 'Back', videos_path %>